package com.b2b.model;

import com.b2b.model.entity.Service;
import lombok.Data;
import org.springframework.stereotype.Repository;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Repository
@Table(name = "service")
public class ServiceDto extends Service {
    private Integer sellerId;
    private Integer buyerId;
    private String buyerName;
    private Integer shopId;
    private String shopName;
    private Integer goodsId;
    private String goodsName;
    private Double refundAmount;

    private Integer serviceId;
    private Character type;
    private Date applicationTime;
    private String reason;
    private String result;
    private Character state;
    private Double evaluate;
    private Integer orderId;
    private Integer stockId;
}
